Representing Pomax here. Convert getElementById to jquery if you're using jquery already.