chrome lag fix, some javascript, more ruby functionalities