JavaScript helper rely on executing assembly location rather than on current dir