Fixed Checkbox for saving it as a favorite; and fixed javascript code aswell.