added sample main application. added note re:jQuery usage