Fix jQuery undefined error by merging jquery with app js