Fixed bugs due to PHP language issues
Inject Ajax config inside treaties JS code
refs #270 @1h - Fixed issue with style registration - must register scripts in wp_register_scripts