reworked to ie support, compressed normalized, changed js structure