add responsive header and fix js call