map javascript file