fix transparent colour in test page js