added option to load java script inline. useful for code with local vari...

...ables