enqueue only in frontend and use wp_register_script
Merge remote-tracking branch 'origin/master'