added js extension interface

?ext=<encoded js file url>