adding the js stuff