JavaScript problems with MediaHolder solved forever