add javascript file, change sdk to 2.0