Update luismark.js

Ungolfed a lot and fixed errors.