trim_prefix causing --use-strict flag to fail

as specified in bug #2064 the `trim_prefix` function declaration within the `try/catch` causes problems when starting express with `--use_strict` directive.
Merge pull request #2065 from WebReflection/patch-1

trim_prefix causing --use-strict flag to fail