db fix
htaccess and jquery stuff