removed javascript include from application layout
changed javacript again
got the popups working