fix permission
more jquery, fix bugs