Added missing semicolon and TODO note

Added missing semicolon. Lack of it causes JavaScript errors in some shops.
Added a TODO note, to refactor JavaScript, that is highly dependent on template classes and IDs.