revert index and js eval