new post:jquery and native javascript api