Moved down js for faster loading speed