#7 Replaced all inline JS variables with wp_localize_script
#7 fixed superfluous semicolon; smaller visual adjustments
Merge pull request #60 from laterpay/feature/7_use_wp_localize_script

#7 Replaced all inline JS variables with wp_localize_script