bind with seperate html & js files