Removed preventDefault because FF doesn't like it
Added some comments