fixing a relative path issue with javascript