add seperate js file for different tab