Perhaps getting rid of the 'return' ?
Abhijit Salvi
11

return is required statement in javascript. The duplication is very subtle.