Fix bugs and optimize codes

- Set plugin as Gem 
- Set to use jQuery UI gem
- Set independent Interface with themes
- Fix some bugs about cross-browser