Avoid doing ajax requests for nothing
Update index, css and script