create single js file for slider