fix getEnrolllist.php and getWishlist.php and split js files to get ready for full site ajax