Fixed javascript interpreter