forward timecop date to javascript, merge common layout head to a partial