BUGFIX Add tail '/'

Add tail '/' to ensure generated id of javascript isn’t leaded by ‘/‘.
Merge pull request #7 from Witcher42/master

BUGFIX Add tail '/'