refactoring of JS for specialty module and css in footer

Signed-off-by: scottsavarie@gmail.com <158brunnenstrasse>