Stupid build errors rolling back -_-
Fixed everything! fffffffffffffffffffffffff
Basic build need to do some bound checking in js