Modified my couch main.js to reflect pure jquery

Modified my couch main.js to reflect pure jquery
Corrected pageinit in main.js