Refatored. Reduced hardcode, and tried weird Javascript code.