First pass at support for Javascript