Cleaned up palette front-end code
Shortened code even more - soon you won't even be able to see it
Began testing Ajax requests