Fix convertYesNo, change test/name.js

Fixed `convertYesNo` function so that `y/N` value is converted into
`false`.
`pack` variable in `test/name.js` is replaced by `{%= js_test_safe_name
%}`.