More fix to Photoswipe #62

* Reordered the functions.php to load scripts always last
* Removed the file call.js in core/photoswipe/js and added the function
in the main.js file