You should probably just use Moment.js.
Include the file, which will add
getMonthName to the Date prototype. Then you can call it like so:
var today = 2014 4 19;console;// -> "Monday"console;// -> "May"