I am using static resource, file default.js, where all javascript magic for visualforce page happens. But, I come to the problem, when i want to use custom labels, there is an error
$Label is not defined
Syntax i am using is $Label.Name_of_the_label
... even Illuminated Cloud is showing me the name of the label is correct and everything but label is not there and console showing me error.