Standalone type checks for JavaScript