Setup new images loading and main menu javascript actions