add javascript view