Add js to header template