fixed js intend