adding javascript for project tabs