checking some js types..