JS files also should have license headers.

Change-Id: I2d43ce5e789726512e0dc6940b143a4322714cc2
Reviewed-on: https://codereview.kdab.com/12222
Reviewed-by: Continuous Integration <build@kdab.com>
Reviewed-by: Allen Winter <allen@kdab.com>
Properly color active states.

This is needed for showing a live view of a running state machine.

Change-Id: I09b6ec799a89b40d3ca973e0aa72d461fc15d436
Reviewed-on: https://codereview.kdab.com/12223
Reviewed-by: Sebastian Sauer <sebastian.sauer@kdab.com>