fixed add action for the javascripts changed