Just some js answers to codeeval for fun