Another biased type checking solution for Javascript