Revert "Add javascript language for block code"

This reverts commit 9fcfcc910a6548096af0cfa0042fe9cc2e84015f.
Update the authentification process

Now, we check the last state of the led to have the led to continue to
light after the authentification like it was before.