Rename val to val.js