CS2 solved with JS