Adds some ugly but simple transition js