setup js file