fix issue with heading /
updated to require js