adds APPEND_SLASH to settings and fix urls to use /
coment unused js code after return true (so jshint wont complain)