js move to file