ajax for media centre wake on lan and ajax loader