Add magnific popup to applicaiton.js