Better js snippets

remove unnecessary semicolons,
create Function Expression snippet