Added head info and google analytics
JS cleanup