js methods moved