Add composer lock, fix a javascript bug with checkboxes, and add git ignore