move js files in directory as roles