Moved deprecated js to seperate file that is conditionally loded on WPEC_LOAD_DEPRECATED