fixed #1 and start to support opera 15+