Create mine.js

I just cannot solve the small input - wut the fuck should i do ?? unable to debug at all! there must be some situation that I ignored. wish to diff output with some other guys - but this is a violation to rule ain't it?? (BTW this repo itself looks like a violation 233 LOL )