js absolute path fix in profile