Go written in JS