file moved to js