add javascript to the list