$(document).ready(function(){ $('html').addClass('js'); });