Fixing deploy method and removing jquery reference