Starting gallery from scrach, js support