serve js val as .js instead of .php