fixed errors in Personal expressions javascript