Fix database connection error and jQuery selector error
New version (5.0) with slide URL feature