Change js dir so it works from a server subdir