js1k competition code