kvz/phpjs — pull request #128 by yadimon (2014-01-07 03:04:35+00:00)
Title: remove last trailing slash if exists

original php function works with path with trailing slash at the end too.