Update metadata.js

The comma in the first line is not necessary. The anonymous function is already wrapped in brackets, and is executed. I.e. you have 

    }());

on the last line.