amend sub header for mobile, and added js