add javascript assignments