which one? 
surl = surl + "/";  - adds the last slash

UserPref - Local properties

requireResource - includes required resources