Ruby Class Instance Javascript Interview Bit