added separate js file