Load JS file from string