Update open.jquery-lasted.js

Fix closing bugs (multiple handlers, base type lost)
Merge pull request #6 from Aurelielb/patch-2

Update open.jquery-lasted.js