added the scripts for WP and JS