Make sure of checking if the js_profiles_path is present only when using a js_profile