If you know the js code only at runtime seems like you need to have/write an 
interpreter...

Reply via email to