jquery is working, ugly but it works