add semicolons at end of injected javascript from php script
set width and height of div