Update open.jquery-lasted.js

Fix multiple bugs