js should use relative URL