fix wp_enqueue_script, exit on ajax call
Merge pull request #1 from takien/master

Fix wp enqueue script, add exit on ajax call