Fixed default URL on sync/ Added ?> at EOF and added new JS

Updated Javascript with new xydac_loadScript()
Added insert_object_hard Data access method and array check on insert
Fixed Extra query issue and fixed extra chars on plugin activation