Replaces the startsWith function in uriCheck.js with the equivalent function from string.js

This pull request covers #12