Send date as parameter and refactor plugins
Missing js plugins