Update pom.xml
return inside the catch

This is better coding style, I think.
Merge pull request #436 from nla/js-upload-from-filesystem

Js upload from filesystem
merge master