add rotate function to pyside browser
rewrite html to connect python function by js in python pyside