fix grunt process to copy js files