Update basic.html

Add basic js func for test app