Changes in main.js

Changed $(document).ready to $(document).on('pageinit', function()
Added description to config.xml
Merge remote-tracking branch 'upstream/master'