fixed: small javascript error