added wp_enqueue_script to ensure jquery gets loaded first