js working local