Updates add_js criteria