minor add javascript