Finish gem (and add js proof of concept)