optimized computeURL()
fixed spaces after optimizing computeURL()
Merge pull request #740 from rafa-ulloa/master

micro optimization in computeURL()