Lance's Javascript library