Added restriction for the JDK version

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>
Removed legacy code, which has corrupted appearance in IE6 and IE10

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>